using System;

namespace eduSrc.Models
{
    [Serializable]
    public class Advert_Banner
    {
        #region Private Fields

        private int _id = 0;
        private String _name = String.Empty;
        private String _picUrl = String.Empty;
        private int _picWidth = 0;
        private int _picHeight = 0;
        private String _title = String.Empty;
        private String _uri = String.Empty;
        private String _placeID = String.Empty;
        private DateTime _startDate = DateTime.Now;
        private DateTime _endDate = DateTime.Now;
        private int _showCount = 0;
        private int _hits = 0;
        private int _grade = 0;
        private int _hideEnable = 0;
        private String _bannerType = String.Empty;
        private DateTime _recordDate = DateTime.Now;

        #endregion 

        #region Properties

        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }

        public String Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public String PicUrl
        {
            get { return _picUrl; }
            set { _picUrl = value; }
        }

        public int PicWidth
        {
            get { return _picWidth; }
            set { _picWidth = value; }
        }

        public int PicHeight
        {
            get { return _picHeight; }
            set { _picHeight = value; }
        }

        public String Title
        {
            get { return _title; }
            set { _title = value; }
        }

        public String Uri
        {
            get { return _uri; }
            set { _uri = value; }
        }

        public String PlaceID
        {
            get { return _placeID; }
            set { _placeID = value; }
        }

        public DateTime StartDate
        {
            get { return _startDate; }
            set { _startDate = value; }
        }

        public DateTime EndDate
        {
            get { return _endDate; }
            set { _endDate = value; }
        }

        public int ShowCount
        {
            get { return _showCount; }
            set { _showCount = value; }
        }

        public int Hits
        {
            get { return _hits; }
            set { _hits = value; }
        }

        public int Grade
        {
            get { return _grade; }
            set { _grade = value; }
        }

        public int HideEnable
        {
            get { return _hideEnable; }
            set { _hideEnable = value; }
        }

        public String BannerType
        {
            get { return _bannerType; }
            set { _bannerType = value; }
        }

        public DateTime RecordDate
        {
            get { return _recordDate; }
            set { _recordDate = value; }
        }

        #endregion
    }
}
